﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="SizeEdit.aspx.cs" Inherits="Admin_Pages_SizeEdit" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 116px;
        }
        .style2
        {
            width: 50px;
        }
    </style>
    <title>Management System</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="wraptitle">
    <h1>Edit Size</h1>
</div>
<div class="wrapcontent">
    <table style="width: 400px;" align="center">
        <tr>
            <td class="style2">
                Size:
            </td>
            <td class="style1">
                <asp:TextBox ID="txtSize" runat="server"></asp:TextBox>
            </td>
            <td>
                
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtSize" Display="Dynamic" ErrorMessage="*Size is not empty"></asp:RequiredFieldValidator>
                
            </td>
        </tr>
        <tr>
            <td class="style2">
                Price:</td>
            <td class="style1">
                <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
            </td>
            <td>
                
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtPrice" Display="Dynamic" 
                    ErrorMessage="*Price is not empty"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator Display="Dynamic" ID="RegularExpressionValidator1" ControlToValidate="txtPrice" ValidationExpression="\d+(\.{1}\d+)?" runat="server" ErrorMessage="* Invalid Price"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
               
            </td>
            <td class="style1">
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
                <input id="Reset1" type="reset" value="reset" />           
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
</div>
</asp:Content>

